import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/internal/Observable';

import { ApiService } from './api.service';

const routes = {
  projects: '/projects',
  project: (id: number) => `/projects/${id}`
};

@Injectable({
  providedIn: 'root'
})
export class HomeService {

  constructor(private apiService: ApiService) { }

  getAll(): Observable<any> {
    return this.apiService.get('/license/vertification');
  }
}
